package com.haima.sage.bigdata.api.frame.condition.impl;

import java.util.Map;

import com.haima.sage.bigdata.api.frame.condition.Condition;

public abstract class ConditionService<T extends Condition<?>> {
    protected T config;

    public ConditionService(T config) {
        this.config = config;
    }

    public abstract boolean deal(Map<?, ?> event) throws Exception;

    public abstract boolean deal(String raw) throws Exception;
}
